package com.javer.domain;

import java.io.Serializable;
import java.util.Date;

public class Article implements Serializable {
	private static final long serialVersionUID = 1L;

	private int id;
	
	/**
	 * 标题
	 */
	private String title;
	
	/**
	 * 内容
	 */
	private String content;
	
	/**
	 * 文章来源
	 */
	private String comefrom;
	
	/**
	 * 作者
	 */
	private String author;
	
	/**
	 * 文章时间
	 */
	private Date atime;
	
	/**
	 * 文章类型 1 职场测试 2 职场法案 3 职场健康  4 职场英语 5 骑驴公告 6 招聘 7 广告 8 链接 9关于我们 10 反馈
	 */
	private String atype;
	
	private int commentCount;

	public int getCommentCount() {
		return commentCount;
	}

	public void setCommentCount(int commentCount) {
		this.commentCount = commentCount;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getComefrom() {
		return comefrom;
	}

	public void setComefrom(String comefrom) {
		this.comefrom = comefrom;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public Date getAtime() {
		return atime;
	}

	public void setAtime(Date atime) {
		this.atime = atime;
	}

	public String getAtype() {
		return atype;
	}

	public void setAtype(String atype) {
		this.atype = atype;
	}

	@Override
	public String toString() {
		return "Article [atime=" + atime + ", atype=" + atype + ", author="
				+ author + ", comefrom=" + comefrom + ", content=" + content
				+ ", id=" + id + ", title=" + title + "]";
	}
	
}
